﻿
using CozeDomain.Entities;
using CozeDto.SysDicDtos;
using CozeDto.SysDicTypeDtos;
using D.UtilFreesqlOrm;

namespace CozeDomain.IRepositories
{
    /// <summary>
    /// 系统字典参数接口
    /// </summary>
    public interface ISysDicTypeEntityRepository : IBaseRepository<SysDicTypeEntity>
    {
        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="pageQuery"></param>
        /// <returns></returns>
        Task<Tuple<long, List<SysDicTypeEntity>>> GetPagesAsync(ReqQuerySysDicTypePage pageQuery);

        /// <summary>
        ///  下拉选择框查询
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<List<RepSelect>> QueryDicTypeSelect();
    }
}
